<template>
  <div class="notice-wrapper">
    <div class="notice">
      <h1 class="title">平台公告</h1>
      <div class="detail-content">
        <h2 class="notice-title">{{ noticeDetail.title }}</h2>
        <p class="notice-content">{{ noticeDetail.content }}</p>
        <div class="label">
          <p class="notice-address">北京市预约挂号统一平台</p>
          <p class="notice-date">{{ noticeDetail.date }}</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "platform-notice",
  data() {
    return {
      noticeDetail: {},
    }
  },
  created() {
    this.noticeDetail=this.$store.state.platformNoticeDate.data[this.$store.state.platformNoticeDate.id]
  },
};
</script>

<style lang="scss" scoped>
.notice-wrapper {
  width:1200px;
  margin:0 auto;
  padding: 40px 0 0 0;
  height: 100%;
  box-sizing: border-box;
  .notice {
    .title {
      font-weight: 700;
      color: #333;
      font-size: 16px;
      letter-spacing: 1px;
    }
    .detail-content {
      margin-top: 60px;
      .notice-title {
        font-size: 18px;
        color: #333;
        font-weight: 700;
        letter-spacing: 1px;
        margin-top: 60px;
        text-align: center;
      }
      .notice-content {
        margin: 40px 0 20px;
        font-size: 12px;
        color: #333;
      }
      .label {
        color: #999;
        font-size: 12px;
        margin-top: 80px;
        text-align: right;
      }
      .notice-date{
          margin-top:16px;
      }
    }
  }
}
</style>
